#ifndef DEVICEUTILS_H
#define DEVICEUTILS_H
#include <QString>
#include "QRect"
#include "QScreen"
#include "QWidget"
class DeviceUtils
{
public:
    ~DeviceUtils();
    static QString getMachineCode();
    static bool checkString(QString string, QString reg);
    static void sendLog(QWidget *eidt, QString log);
    static QString getMachineGuid();
private:

    static QString getWMIC(const QString &cmd);
    static QString getCPUID();
    static QString getDiskNum();
    static QString getBaseboardNum();

};
#endif // DEVICEUTILS_H
